#include "Cell.h"
#include <boost/thread.hpp>
#include <map>

int stateManage(const char *);

int textReader(const char *argg, list<Cell*> &, list<Cell*> &, Cell **);

int initMultiset(Cell **, const int, multimap<int*, Cell*>&);

pair<Cell*, Cell*> getMapObject(multimap<int*, Cell*>, Cell *, pair<int, int>);

int blackProcessing(list<Cell *> &, multimap<int*, Cell*>);

int whiteProcessing(list<Cell *> &, multimap<int*, Cell*>);

void otherProcessing(list<Cell *> &, Cell **);

int logar(int);

int pingDirection(int, Cell*, multimap<int*, Cell*>);

typedef list<Cell*>::iterator iter;
